/**
 * Created by Administrator on 2017/2/13.
 */
var Vue = require('vue');
var VueRouter = require('vue-router');
var App = require('./app/App.vue')
require('../css/index.css')

Vue.config.errorHandler = function(err, vm) {
    console.error(err)
};
Vue.use(VueRouter);
var routes = [
    {
        path:"/test",
        component:require('./app/test.vue')
    },
    {
        path:"/page",
        component:require('./app/page.vue')
    },
    {
        path:"/my-select",
        component:require('./app/my-select.vue')
    },
    {
        path:"/mn-select",
        component:require('./app/mn-select.vue')
    }
]

var router = new VueRouter({
    routes: routes
})

var app = new Vue({
    el: '#app',
    router: router,
    render: function(h) {
        return h(App);
    }
})